package com.mqz.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mqz.seckill.pojo.User;
import com.mqz.seckill.vo.LoginVO;
import com.mqz.seckill.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService extends IService<User> {
    RespBean doLogin(LoginVO loginVO, HttpServletRequest request, HttpServletResponse response);

    User getUserByCookie(String userTicket, HttpServletRequest request, HttpServletResponse response);

    RespBean updatePassword(String userTicket, String password, HttpServletRequest request, HttpServletResponse response);
}
